<?php echo $html->script(array('jquery'));?>
<script type="text/javascript">
<!--
	$(function(){
			$("#EventStartDate").datepicker({dateFormat: 'yy/mm/dd'});
		});
	$(function(){
			$("#EventEndDate").datepicker({dateFormat: 'yy/mm/dd'});
		});
//-->
</script>
<div class="content-box">
	<div class="box-body">
		<div class="box-header clear">
			<ul class="tabs clear">
				<li><a href="#b">Trở lại</a></li>				
			</ul>
			<h2>Thông tin phong trào</h2>
		</div>
		<div class="box-wrap clear">
			<?php echo $form->create('Event', array('class' => 'validate-form form bt-space15'))?>
			<div class="columns clear bt-space15">
				<div class="col2-3">												
					<?php						
					echo $form->input('union_id', array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Đơn vị tổ chức: '), 'div'=>'form-field clear', 'options'=>$list_union, 'empty'=>'--Lựa chọn--', 'class'=>'required text fl-space2'));
					echo $form->input('event', array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Tên phong trào: '), 'div'=>'form-field clear', 'type'=>'text', 'class'=>'required text fl-space2'));
					echo $form->input('start_date', array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Ngày bắt đầu: '), 'div'=>'form-field clear', 'type'=>'text', 'class'=>'required text fl-space2'));
					echo $form->input('end_date', array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Ngày kết thúc: '), 'div'=>'form-field clear','type'=>'text','class'=>'required text fl-space2'));
					echo $form->input('status', array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Trạng thái: '), 'div'=>'form-field clear','options'=>$list_status, 'empty'=>'--Lựa chọn--','class'=>'required text fl-space2'));
					echo $form->input('note',array('label'=>array('class'=>'form-label size-120 fl-space2', 'text'=>'Ghi chú: '), 'div'=>'form-field clear','type'=>'text','class'=>'required text fl-space2'));									
					?>
				</div>
				<div class="col2-3">
					<input type="submit" class="button green" value="Hoàn tất"></input>
				</div>
				<?php echo $form->end();?>
			</div>
		</div>
	</div>
</div>